-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Alibaba: fix kubebuilder validation #5406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alibaba: fix kubebuilder validation #5406
Conversation
|
@patrickdillon Thanks for this. I haven't seen this. Am I missing a step when I build my clusters? |
@kwoodson no this is only an error when generating new code for |
2bbe5bf to
274071a
Compare
DiskCategory validation had string type instead of enum.
274071a to
bc10512
Compare
|
We should figure out how this managed to get through CI |
|
i think just would fix up the CI loophole. am happy to submit a PR if no one is already on it |
|
@patrickdillon: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
That would be great. Thank you |
|
submitted that pr, so as soon as this one merges we can merge it |
Or just remove the |
staebler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: staebler The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
if the go codegen commands failed, the the hack/verify-codegen.sh script continued and the CI check passed. see openshift#5406 for an example. the script was not set to fail on a non-zero return code. this pr adds the bash e option to the set builtin to catch errors and exit on failure. Signed-off-by: Christy Norman <[email protected]>
DiskCategory validation had string type instead of enum.
On master without this change: